package com.example.mystore.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 首页控制器
 * @author pan_junbiao
 **/
@Controller
public class IndexController {

    @RequestMapping("/index")
    public String test1() {
        return "index";
    }

    @RequestMapping("/register")
    public String test2() {
        return "register";
    }

    @RequestMapping("/login")
    public String test3() {
        return "login";
    }

    @RequestMapping("/userMessage")
    public String test4() {
        return "userMessage";
    }

    @RequestMapping("/adminIndex")
    public String test5() {
        return "adminIndex";
    }

    @RequestMapping("/admin")
    public String test6() {
        return "admin";
    }

    @RequestMapping("/login1")
    public String test7() {
        return "login1";
    }

    @RequestMapping("/index1")
    public String test8() {
        return "index1";
    }

    @RequestMapping("/adminproductcategories")
    public String test9() {
        return "adminproductcategories";
    }

    @RequestMapping("/adminproduct")
    public String test10() {
        return "adminproduct";
    }

    @RequestMapping("/adminusers")
    public String test11() {
        return "adminusers";
    }

    @RequestMapping("/adminorder")
    public String test12() {
        return "adminorder";
    }

    @RequestMapping("/userupdate")
    public String test13() {
        return "userupdate";
    }

    @RequestMapping("/productUpdate")
    public String test14() {
        return "productUpdate";
    }

    @RequestMapping("/productAdd")
    public String test15() {
        return "productAdd";
    }

    @RequestMapping("/payment")
    public String test16() {
        return "payment";
    }

    @RequestMapping("/search_results")
    public String test17() {
        return "search_results";
    }

    @RequestMapping("/productmessage")
    public String test18() {
        return "productmessage";
    }

    @RequestMapping("/orderconfirmation")
    public String test19() {
        return "orderconfirmation";
    }

    @RequestMapping("payAccomplish")
    public String test20() {
        return "payAccomplish";
    }

    @RequestMapping("/orderlist")
    public String test21() {
        return "orderlist";
    }

    @RequestMapping("/cart")
    public String test22() {
        return "cart";
    }

    @RequestMapping("/UserProductCategory")
    public String test23() {
        return "UserProductCategory";
    }

    @RequestMapping("/information_modification")
    public String test24() {
        return "information_modification";
    }

    @RequestMapping("/password_modification")
    public String test25() {
        return "password_modification";
    }
    @RequestMapping("/forget-password")
    public String test26() {
        return "forget-password";
    }

}






